module Base
{
	model fhq78BRAT_Camp_Body
	{
		mesh = vehicles/vehicle_fhq78BRAT_camp|fhq78BRAT_CampCap,
		shader = vehicle_multiuv,
		invertX = FALSE,
		scale = 0.47,
	}
	template vehicle fhq78BRAT_Camp
    {
		template! = fhq78BRAT,
		
		model
        {
            file = fhq78BRAT_Camp_Body,
            scale = 1.8200,
            offset = 0.0000 -0.0549 0.0165,
        }
		
		mass = 733,
        engineLoudness = 90,
        engineQuality = 80,
		
		area TruckBed
        {
            xywh = 0.0000 -1.2033 0.7473 0.4066,
        }
		
		template = TrunkDoor,
		
		part TrunkDoor
		{
			table uninstall
			{
				requireUninstalled = WindshieldRear,
			}
		}
		
        template = Trunk/part/TruckBed,
		
		part TruckBed
        {
            container
            {
                capacity = 115,
            }
        }
		
		part WindshieldRear
		{
			table install
			{
				requireInstalled = TrunkDoor,
			}
		}
		
		template = WindowNoDoor/part/WindowRearLeft,
        template = WindowNoDoor/part/WindowRearRight,
		
		part WindowRear*
        {
            table install
            {
                recipes = Intermediate Mechanics,
            }
            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }
    }
	vehicle fhq78BRAT_DL_Camp
    {
        template! = fhq78BRAT_Camp,
		
        textureMask = Vehicles/vehicle_fhq78BRAT_DL_Camp_mask,

        skin
        {
            texture = Vehicles/vehicle_fhq78BRAT_DL_Camp_shell,
        }

        extents = 0.7473 0.5165 1.9780,
        physicsChassisShape = 0.7473 0.5165 1.9780,
        centerOfMassOffset = 0.0000 0.2692 -0.0110,
    }
}
